import { FormSchema } from '/@/components/Table';
import { uploadApi } from '/@/api/sys/upload';

export const shopFormSchema: FormSchema[] = [
 /* {
    label: '图片',
    field: 'imgUrl',
    component: 'Upload',
    componentProps: {
      multiple: false,
      emptyHidePreview: true,
      api: uploadApi,
      uploadParams: { bizPath: 'cuisine' },
    },
    required: false,
  },*/
  {
    label: '门店ID',
    field: 'number',
    component: 'Input',
    required: true,
  },
  {
    label: '门店名称',
    field: 'name',
    component: 'Input',
    required: true,
  },
  {
    label: '联系人',
    field: 'contact',
    component: 'Input',
    required: true,
  },
  {
    label: '手机号',
    field: 'contactPhone',
    component: 'Input',
    required: true,
  },
];
